package com.tjec.project.businessStandardLibrary.mapper;

import com.tjec.project.businessStandardLibrary.domain.BmsKnowledgeBusinessGuide;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 业务指南Mapper接口
 * 
 * @author pangyongfeng
 * @date 2020-04-20
 */
public interface BmsKnowledgeBusinessGuideMapper 
{
    /**
     * 查询业务指南
     * 
     * @param guid 业务指南ID
     * @return 业务指南
     */
    public BmsKnowledgeBusinessGuide selectBmsKnowledgeBusinessGuideByGuid(String guid);

    /**
     * 查询业务指南列表
     * 
     * @param bmsKnowledgeBusinessGuide 业务指南
     * @return 业务指南集合
     */
    public List<BmsKnowledgeBusinessGuide> selectBmsKnowledgeBusinessGuideList(BmsKnowledgeBusinessGuide bmsKnowledgeBusinessGuide);

    /**
     * 新增业务指南
     * 
     * @param bmsKnowledgeBusinessGuide 业务指南
     * @return 结果
     */
    public int insertBmsKnowledgeBusinessGuide(BmsKnowledgeBusinessGuide bmsKnowledgeBusinessGuide);

    /**
     * 修改业务指南
     * 
     * @param bmsKnowledgeBusinessGuide 业务指南
     * @return 结果
     */
    public int updateBmsKnowledgeBusinessGuide(BmsKnowledgeBusinessGuide bmsKnowledgeBusinessGuide);

    /**
     * 删除业务指南
     * 
     * @param guid 业务指南ID
     * @return 结果
     */
    public int deleteBmsKnowledgeBusinessGuideByGuid(@Param("guid")String guid);

    /**
     * 批量删除业务指南
     * 
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBmsKnowledgeBusinessGuideByGuids(@Param("guids")String[] guids);
    /**
     * 查询业务类别下的一级二级菜单所有的数据
     *
     * @param bmsKnowledgeBusinessGuide 查询的id
     * @return 结果
     */
    List<BmsKnowledgeBusinessGuide> selectBmsKnowledgeBusinessListByGuIds(BmsKnowledgeBusinessGuide bmsKnowledgeBusinessGuide);
    /**
     * 查询业务类别  详情
     *
     * @param guid 查询的id
     * @return 结果
     */
    BmsKnowledgeBusinessGuide selectBmsKnowledgeBusinessGuideselectListDetails(@Param("guid")String guid);

    /**
     * 业务手册列表
     * @param bmsKnowledgeBusinessGuide
     * @return
     */
    List<BmsKnowledgeBusinessGuide> selectBmsKnowledgeBusinessGuideMobileList(BmsKnowledgeBusinessGuide bmsKnowledgeBusinessGuide);
}
